<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>用户上传头像</title>
  <style>
      body {
          font-family: Arial, sans-serif;
          margin: 0;
          padding: 0;
          display: flex;
          justify-content: center;
          align-items: center;
          height: 100vh;
          background-color: #f0f0f0;
      }
      form {
          background-color: #fff;
          padding: 20px;
          border-radius: 8px;
          box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
      }
      input[type="file"],
      input[type="text"] {
          margin-bottom: 10px;
      }
  </style>
</head>
<body>
  <form action="/image/upload" method="post" enctype="multipart/form-data">
      <input type="file" name="file" >
      <input type="submit" value="提交">
  </form>

</script>
</body>
</html>